message(STATUS "")
message(STATUS "Core revision: ${rev_hash} ${rev_date} ")
message(STATUS "Supported version: ${supported_build}")
message(STATUS "Install server to: ${CMAKE_INSTALL_PREFIX}")
message(STATUS "")

if(USE_PCH)
  message(STATUS "Use PCH               : Yes")
else()
  message(STATUS "Use PCH               : No")
endif()

if(PROFILE_GENERATE)
  message(STATUS "PGO profile           : Generate")
elseif(PROFILE_USE)
  message(STATUS "PGO profile           : ${GCC_PROFILE_USE}")
else()
  message(STATUS "PGO profile           : Disabled")
endif()

message(STATUS "Memory allocation     : ${ALLOC_LIB_INFO_STRING} ${TBB_LIBRARIES}")
message(STATUS "Detected compiler     : ${CMAKE_CXX_COMPILER_ID}")

if(BUILD_FOR_HOST_CPU)
  message(STATUS "Build for host CPU    : Yes (default)")
else()
  message(STATUS "Build for host CPU    : No")
endif()

message(STATUS "Build type            : ${CMAKE_BUILD_TYPE}")

if(USE_SCRIPTS)
  message(STATUS "Build scripts         : Yes (default)")
else()
  message(STATUS "Build scripts         : No")
endif()

if(SCRIPT_LIB_ELUNA)
  message(STATUS "Build Eluna LUA Engine: Yes (default)")
else()
  message(STATUS "Build Eluna LUA Engine: No")
endif()

if(ENABLE_MAILSENDER)
  message(STATUS "Mailsender enabled    : Yes")
else()
  message(STATUS "Mailsender enabled    : No (default)")
endif()

if(UNIX)
  if(DEBUG_SYMBOLS)
    message(STATUS "Debug symbols         : Included")
    set(BUILD_ADDITIONAL_FLAGS "${BUILD_ADDITIONAL_FLAGS} -g")
  else()
    message(STATUS "Debug symbols         : Disabled")
  endif()
endif()
